.file-uploader {
  margin-bottom: 20px;
}

.upload-area {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.upload-zone {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.upload-zone:hover {
  background-color: #f0f0f0;
}

.upload-zone.drag-active {
  border-color: #1890ff;
  background-color: #e6f7ff;
}

.upload-zone.processing {
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.upload-content {
  text-align: center;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.upload-text {
  font-size: 16px;
  color: #333;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.upload-hint {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.processing-indicator {
  text-align: center;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1890ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.upload-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #ddd;
  color: #666;
}

.btn-outline:hover:not(:disabled) {
  border-color: #1890ff;
  color: #1890ff;
}

.upload-result {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.result-header.success {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

.result-icon {
  font-size: 16px;
}

.result-title {
  font-size: 14px;
}

.result-content {
  padding: 16px;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-top: none;
}

.success-info p {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.success-info p:last-child {
  margin-bottom: 0;
}

.warnings {
  margin-top: 12px;
  padding: 12px;
  border-radius: 4px;
  background-color: #fffbe6;
  border: 1px solid #ffe58f;
}

.warning-title {
  font-weight: 500;
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #faad14;
}

.warnings ul {
  margin: 0;
  padding-left: 20px;
}

.warnings li {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 4px;
  color: #ad6800;
}

.warnings li:last-child {
  margin-bottom: 0;
} 